package nciae.db.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName("settings")
public class Settings {
    @TableId(type = IdType.AUTO)
    @JsonProperty("stu_max_num")
    private Integer stuMaxNum;
    @JsonProperty("attendance_rate")// 专家指导学生人数上限
    private float attendanceRate;// 考勤占比
    @JsonProperty("homework_rate")
    private float homeworkRate;// 作业占比
    @JsonProperty("log_rate")
    private float logRate;          // 日志占比
}
